Skip to content

Adding in filter for 3D model of cathode for systematics#926

Open
jzennamo wants to merge 3 commits intoproduction/v10_06_00from
feature/zennamo_cathodefilter
Open

Adding in filter for 3D model of cathode for systematics#926
jzennamo wants to merge 3 commits intoproduction/v10_06_00from
feature/zennamo_cathodefilter

Conversation

@jzennamo
Copy link
Copy Markdown
Contributor

@jzennamo jzennamo commented Apr 21, 2026

Description

Please provide a detailed description of the changes this pull request introduces.

$${\color{blue}!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!}$$

$${\color{blue}\bf{\textrm{IMPORTANT UPDATE Feb 2nd 2026:}}}$$ If you are making a PR which is intended as a patch for the CURRENT production for gen 2 SBND analyses, you must make two PRs: one for develop and one for the production/sbnd-gen2 branch.

$${\color{blue}!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!}$$

Checklist

  • Added at least 1 label from available labels.
  • Assigned at least 1 reviewer under Reviewers,
  • Assigned all contributers including yourself under Assignees
  • Linked any relevant issues under Developement
  • Does this PR affect CAF data format? If so, please assign a CAF maintainer (PetrilloAtWork or JosiePaton) as additional reviewer.
  • Does this affect the standard workflow?
  • Is this PR a patch for the ongoing production? If so, separate PR must also be made for production/v10_06_00 branch!

Relevant PR links (optional)

Does this PR require merging another PR in a different repository (such as sbnanobj/sbnobj etc.)?

Link(s) to docdb describing changes (optional)

Is there a docdb describing the issue this solves or the feature added?

@jzennamo jzennamo self-assigned this Apr 21, 2026
@jzennamo jzennamo added the enhancement New feature or request label Apr 21, 2026
@jzennamo jzennamo requested review from gputnam and tbwester April 28, 2026 14:51
@jzennamo
Copy link
Copy Markdown
Contributor Author

OK, so, using cosmic data I created a 3D representation of the cathode, I integrated that into SBNDCode and tried to create a version of the gdml that removes the cathode. This was validated using cosmic MC and is ready to be merged and used to generate a systematic variation.

Copy link
Copy Markdown
Contributor

@tbwester tbwester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall implementation looks good. Personally I prefer a larsoft service with centralized, sbnd-level cathode config file instead of configuring within the filter fhicl. I can't comment on the GDML nor jsonnet files.

install_fhicl(SUBDIRS fcl)
cet_enable_asserts()

# install sbnd_pds_mapping.json with mapping of the photon detectors
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comment seems wrong

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you consider making this a larsoft service? Then this could be used elsewhere with unified experiment-defined configuration (not just set in the filter configuration fhicl)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants